package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.TCkOrderdetailBakMapper;
import com.ruoyi.system.domain.TCkOrderdetailBak;
import com.ruoyi.system.service.ITCkOrderdetailBakService;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-09-06
 */
@Service
public class TCkOrderdetailBakServiceImpl implements ITCkOrderdetailBakService 
{
    @Autowired
    private TCkOrderdetailBakMapper tCkOrderdetailBakMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param orderId 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    @Override
    public TCkOrderdetailBak selectTCkOrderdetailBakByOrderId(String orderId)
    {
        return tCkOrderdetailBakMapper.selectTCkOrderdetailBakByOrderId(orderId);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param tCkOrderdetailBak 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<TCkOrderdetailBak> selectTCkOrderdetailBakList(TCkOrderdetailBak tCkOrderdetailBak)
    {
        return tCkOrderdetailBakMapper.selectTCkOrderdetailBakList(tCkOrderdetailBak);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param tCkOrderdetailBak 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertTCkOrderdetailBak(TCkOrderdetailBak tCkOrderdetailBak)
    {
        return tCkOrderdetailBakMapper.insertTCkOrderdetailBak(tCkOrderdetailBak);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param tCkOrderdetailBak 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateTCkOrderdetailBak(TCkOrderdetailBak tCkOrderdetailBak)
    {
        return tCkOrderdetailBakMapper.updateTCkOrderdetailBak(tCkOrderdetailBak);
    }

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param orderIds 需要删除的【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteTCkOrderdetailBakByOrderIds(String[] orderIds)
    {
        return tCkOrderdetailBakMapper.deleteTCkOrderdetailBakByOrderIds(orderIds);
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param orderId 【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteTCkOrderdetailBakByOrderId(String orderId)
    {
        return tCkOrderdetailBakMapper.deleteTCkOrderdetailBakByOrderId(orderId);
    }
}
